- row
- The zero-based row number of the pixel.
- column
- The zero-based column number of the pixel.
- data
- Buffer that contains the pixel data to set. This buffer should contain
((BitsPerPixel + 7) / 8)
bytes.
Visual Basic (Declaration) | |
---|---|
Overloads Public Sub SetPixelData( _ ByVal row As Integer, _ ByVal column As Integer, _ ByVal data() As Byte _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As RasterImage Dim row As Integer Dim column As Integer Dim data() As Byte instance.SetPixelData(row, column, data) |
Parameters
- row
- The zero-based row number of the pixel.
- column
- The zero-based column number of the pixel.
- data
- Buffer that contains the pixel data to set. This buffer should contain
((BitsPerPixel + 7) / 8)
bytes.
For an example, refer to GetPixelData(Int32,Int32).
No transformations are performed on the pixel data.
This method should be called only for 8, 16, 24, 32, 48 and 64-bit images.
Use the GetPixelData(Int32,Int32) method to get data of a specified pixel.
For more information, refer to Introduction to Image Processing With LEADTOOLS.
For more information refer to Accounting for View Perspective.
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7